package com.wuxiaoqin.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuxiaoqin.server.entity.Address;
import com.wuxiaoqin.server.entity.Orders;
import com.wuxiaoqin.server.entity.order.OrdCreaParm;
import com.wuxiaoqin.uitls.respObj.RespBean;


import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-11-05
 */
public interface IOrdersService extends IService<Orders> {
    RespBean creatOrder(OrdCreaParm ordCreaParm) throws IOException, Exception;


    int getOrderStatus(Integer orderid);

    public Address getAdd(Integer addId);
    void delOrder(int orderid);


    RespBean getOrderByUserId(Integer uId);

    RespBean getOrderById(Integer uId, Integer orderid);

    RespBean getOrderGoods(Integer uId, Integer orderid);

    List<Orders> getOrderFaHuo(Integer uId);

    RespBean verifyShouHuo(Integer uId, Integer orderNo);
}
